﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004F3 RID: 1267
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ExchangeHcoinScRsp : IMessage<ExchangeHcoinScRsp>, IMessage, IEquatable<ExchangeHcoinScRsp>, IDeepCloneable<ExchangeHcoinScRsp>, IBufferMessage
	{
		// Token: 0x17001067 RID: 4199
		// (get) Token: 0x06003954 RID: 14676 RVA: 0x0009DB74 File Offset: 0x0009BD74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ExchangeHcoinScRsp> Parser
		{
			get
			{
				return ExchangeHcoinScRsp._parser;
			}
		}

		// Token: 0x17001068 RID: 4200
		// (get) Token: 0x06003955 RID: 14677 RVA: 0x0009DB7B File Offset: 0x0009BD7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ExchangeHcoinScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001069 RID: 4201
		// (get) Token: 0x06003956 RID: 14678 RVA: 0x0009DB8D File Offset: 0x0009BD8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ExchangeHcoinScRsp.Descriptor;
			}
		}

		// Token: 0x06003957 RID: 14679 RVA: 0x0009DB94 File Offset: 0x0009BD94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExchangeHcoinScRsp()
		{
		}

		// Token: 0x06003958 RID: 14680 RVA: 0x0009DB9C File Offset: 0x0009BD9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExchangeHcoinScRsp(ExchangeHcoinScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.num_ = other.num_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003959 RID: 14681 RVA: 0x0009DBCD File Offset: 0x0009BDCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExchangeHcoinScRsp Clone()
		{
			return new ExchangeHcoinScRsp(this);
		}

		// Token: 0x1700106A RID: 4202
		// (get) Token: 0x0600395A RID: 14682 RVA: 0x0009DBD5 File Offset: 0x0009BDD5
		// (set) Token: 0x0600395B RID: 14683 RVA: 0x0009DBDD File Offset: 0x0009BDDD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700106B RID: 4203
		// (get) Token: 0x0600395C RID: 14684 RVA: 0x0009DBE6 File Offset: 0x0009BDE6
		// (set) Token: 0x0600395D RID: 14685 RVA: 0x0009DBEE File Offset: 0x0009BDEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Num
		{
			get
			{
				return this.num_;
			}
			set
			{
				this.num_ = value;
			}
		}

		// Token: 0x0600395E RID: 14686 RVA: 0x0009DBF7 File Offset: 0x0009BDF7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ExchangeHcoinScRsp);
		}

		// Token: 0x0600395F RID: 14687 RVA: 0x0009DC05 File Offset: 0x0009BE05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ExchangeHcoinScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.Num == other.Num && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003960 RID: 14688 RVA: 0x0009DC44 File Offset: 0x0009BE44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.Num != 0U)
			{
				num ^= this.Num.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003961 RID: 14689 RVA: 0x0009DC9C File Offset: 0x0009BE9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003962 RID: 14690 RVA: 0x0009DCA4 File Offset: 0x0009BEA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003963 RID: 14691 RVA: 0x0009DCB0 File Offset: 0x0009BEB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Num != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Num);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003964 RID: 14692 RVA: 0x0009DD0C File Offset: 0x0009BF0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.Num != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Num);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003965 RID: 14693 RVA: 0x0009DD64 File Offset: 0x0009BF64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ExchangeHcoinScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.Num != 0U)
			{
				this.Num = other.Num;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003966 RID: 14694 RVA: 0x0009DDB4 File Offset: 0x0009BFB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003967 RID: 14695 RVA: 0x0009DDC0 File Offset: 0x0009BFC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 48U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.Num = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001685 RID: 5765
		private static readonly MessageParser<ExchangeHcoinScRsp> _parser = new MessageParser<ExchangeHcoinScRsp>(() => new ExchangeHcoinScRsp());

		// Token: 0x04001686 RID: 5766
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001687 RID: 5767
		public const int RetcodeFieldNumber = 6;

		// Token: 0x04001688 RID: 5768
		private uint retcode_;

		// Token: 0x04001689 RID: 5769
		public const int NumFieldNumber = 5;

		// Token: 0x0400168A RID: 5770
		private uint num_;
	}
}
